﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VIPCustomerEdit.aspx.cs" Inherits="IHISCETeim.Web.AgentSys.VipMgr.VIPCustomerEdit" %>
<div class="pageContent">
	<form method="post" action="VipMgr/VIPCustomerEdit.aspx?ajaxmethod=edit&CustomerId=<%=CustomerId %>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="56">
            <h2 style=" padding:0px 0px 5px 6px; border-bottom:1px solid #B8D0D6; clear:both;">1.经销商</h2>
                <p>
				    <label>经销商：</label>
				    <select name="UserId">
                        <%=GetAgentList(vipObj.UserId) %>
				    </select>
			    </p>
            <h2 style=" padding:0px 0px 5px 6px; border-bottom:1px solid #B8D0D6;clear:both;">2.客户基本信息</h2>
                <p>
				    <label>姓名：</label>
				    <input name="RealName" type="text" class="required"  value="<%=vipObj.RealName %>" />
			    </p>
                <p>
				    <label>身份证：</label>
				    <input name="IDCard" type="text" class="required"  value="<%=vipObj.IDCard %>" />
			    </p>
                <p>
				    <label>联系方式：</label>
				    <input name="Tel" type="text" class=""  value="<%=vipObj.Tel %>" />
			    </p>
                <p>
				    <label>地址：</label>
				    <input name="Address" type="text" class=""  value="<%=vipObj.Address %>" />
			    </p>
            <h2 style=" padding:0px 0px 5px 6px; border-bottom:1px solid #B8D0D6;clear:both;">3.VIP卡信息</h2>
                <p>
				    <label>VIP卡类型：</label>
                    <select class="required" name="VIPCardType">
                        <%=GetSelectVIPCardType(vipObj.VIPCardType) %>
                    </select>
			    </p>
                <p>
				    <label>VIP卡号：</label>
				    <input name="VIPCardNum" type="text" class="required"  value="<%=vipObj.VIPCardNum %>" />
			    </p>
                <p>
				    <label>有效期从：</label>
				    <input name="ValidFrom" type="text" class="date required"  value="<%=vipObj.ValidFrom.ToString("yyyy-MM-dd")%>" />
			    </p>
                <p>
				    <label>有效期到：</label>
				    <input name="ValidTo" type="text" class="date required"  value="<%=vipObj.ValidTo.ToString("yyyy-MM-dd") %>" />
			    </p>
        </div>
		<div class="formBar">
			<ul>
				<li id="VIPCustomerEdit_BtnSave" ><div class="buttonActive"><div class="buttonContent"><button type="submit" > 提 交 </button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>